package com.isale.web.front.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by baijs on 2016/11/16.
 */
@Controller
public class IndexController {

    @RequestMapping("/index")
    @ResponseBody
    public String index(){
        return "hello world!";
    }


    @RequestMapping("/login")
    @ResponseBody
    public String login(){
        return "hello world!";
    }

}
